package com.dykj.fireFighting.server.socialUnit.devicemanger.mapper;

import com.dykj.fireFighting.api.socialUnit.devicemanger.entity.PartitionsDevice;
import com.dykj.fireFighting.common.core.mapper.SuperMapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;

/**
 * @Description 分区设备中间表
 * @Author JacksonTu
 * @Date  2021-07-15 11:25:03
 */
public interface PartitionsDeviceMapper extends SuperMapper<PartitionsDevice> {
    int insertBatch(List<PartitionsDevice> partitionsDeviceList);
    @Delete("DELETE from partitions_device where device_id=#{deviceId}")
    Boolean deletePoint(@Param("deviceId")String deviceId);



}
